package com.auxgroup.hr.front.dao.domain;

import javax.persistence.*;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by nitongqian on 2019/3/16.
 */
@Entity
@Table(name = "PS_C_WF_PLAVE_VW")
@NamedQuery(name = "PsCWfPlaveVw.findAll", query = "SELECT p FROM PsCWfPlaveVw p")
public class PsCWfPlaveVw implements Serializable {
    @Column(name = "OPRID")
    private String oprid;
    @Id
    @Column(name = "C_TRANSACTION_NUM")
    private String cTransactionNum;
    @Column(name = "C_WF_TITLE")
    private String cWfTitle;
    @Temporal(TemporalType.DATE)
    @Column(name = "C_WF_APP_DT")
    private Date cWfAppDt;
    @Column(name = "C_LEAVE_TYPE")
    private String cLeaveType;
    @Column(name = "C_PLEAVE_DAYS")
    private BigDecimal cPleaveDays;
    @Column(name = "START_DATE")
    @Temporal(TemporalType.DATE)
    private Date startDate;
    @Column(name = "END_DATE")
    @Temporal(TemporalType.DATE)
    private Date endDate;

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public String getOprid() {
        return oprid;
    }

    public void setOprid(String oprid) {
        this.oprid = oprid;
    }

    public String getcTransactionNum() {
        return cTransactionNum;
    }

    public void setcTransactionNum(String cTransactionNum) {
        this.cTransactionNum = cTransactionNum;
    }

    public String getcWfTitle() {
        return cWfTitle;
    }

    public void setcWfTitle(String cWfTitle) {
        this.cWfTitle = cWfTitle;
    }

    public Date getcWfAppDt() {
        return cWfAppDt;
    }

    public void setcWfAppDt(Date cWfAppDt) {
        this.cWfAppDt = cWfAppDt;
    }

    public String getcLeaveType() {
        return cLeaveType;
    }

    public void setcLeaveType(String cLeaveType) {
        this.cLeaveType = cLeaveType;
    }

    public BigDecimal getcPleaveDays() {
        return cPleaveDays;
    }

    public void setcPleaveDays(BigDecimal cPleaveDays) {
        this.cPleaveDays = cPleaveDays;
    }
}
